import {postRequest} from "@/utils/request";
export default {
    //todo api实现
    getBudgetType(param){
        return postRequest('/type/getBudgetType',param)
    },

    insertOrUpdateBudget(param) {
        return postRequest('/budget/insertOrUpdateBudget',param);
    },

    queryBudget(param) {
        return postRequest('/budget/queryBudget',param);
    },

    queryTypeId(param) {
        return postRequest('/type/queryTypeId',param);
    },

    /**
     * 修改明细基本信息  (明细页面修改)
     * @param param
     * @returns {Promise<AxiosResponse<any>> | Promise<axios.AxiosResponse<any>> | *}
     */
    updateBudgetJbxx(param) {
        return postRequest('/budget/updateBudgetJbxx',param);
    },

    queryMonBudget(param) {
        return postRequest('/budget/queryMonBudget',param);
    },

    updateMonBudget(param) {
        return postRequest('/budget/updateMonBudget',param);
    }
}